package com.wyix.service.impl;


import com.wyix.service.Flyable;
import com.wyix.service.Invisible;

/**
 * 惊奇队长类，实现飞行和隐身能力接口
 * @author wangdx
 * @since  2025/8/1
 */
public class CaptainMarvel implements Invisible, Flyable {
    @Override
    public void turnInvisible() {
        System.out.println("美国队长进入隐身状态！");
    }

    @Override
    public void fly() {
        System.out.println("美国队长启动推进器，飞向天空！");
    }
}
